package com.example.testrxjava.activity.search;

import retrofit2.http.Field;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.POST;
import retrofit2.http.Path;
import retrofit2.http.Query;
import rx.Observable;

/**
 * 项目名称：TestRxjava
 *
 * @Author 郭迎辉
 * Create by 15:03 on 2019/4/22.
 * Describe:
 */
public interface HotSearchApi {

    @FormUrlEncoded
    @POST("article/query/{page}/json")
    Observable<HotSearchBean> hotSearchList(@Path("page") int page, @Field("k") String k);

}
